package com.ext.aic.utils.http;

import com.hjq.http.exception.HttpException;

public class ResultException extends HttpException {
    private final Response<?> mData;

    public ResultException(String message, Response<?> data) {
        super(message);
        mData = data;
    }

    public ResultException(String message, Throwable cause, Response<?> data) {
        super(message, cause);
        mData = data;
    }

    public Response<?> getHttpData() {
        return mData;
    }
}
